home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3aniobj.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_ANIOBJ_H = 1;
- include("real/objects/r3level.js")
-
-
- var R3CLID_ANIOBJ = 142;
-
-
-
-
- // Description: Evaluate point from the sub object whose ordnum is given. The point is evaluated
- // using the objects current time.
- // p3: Tag[], tags: R3LEVA_OrdNum, (R3INT): ordnum of the sub object to be evaluated R3AOA_Result, R3VECTOR *:
- // evaluated point.
-
- R3AOM_EVALPARAM = 142000;
-
- function mR3AOM_EVALPARAM(p3) {
- Do(this.r3obj, 142000, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: This sends given method to all siblings except for those who are derived from
- // the r3aniobj base class.
- // p3: Tag[], tags: R3AOA_PMethod - R3INT, method to be called for each target object R3AOA_PParam, -
- // param for the method
-
- R3AOM_PERFORMONTARGETS = 142001;
-
- function mR3AOM_PERFORMONTARGETS(p3) {
- Do(this.r3obj, 142001, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Called when time or children has changed. When the animation object receives this method,
- // it should update its target objects.
-
- R3AOM_RECALCULATE = 142002;
-
- function mR3AOM_RECALCULATE() {
- DoA(this.r3obj, 142002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Show/Hide sub choreographs
- // p3: Boolean, true shows, false hides
-
- R3AOM_SETOPEN = 142003;
-
- function mR3AOM_SETOPEN(p3) {
- DoA(this.r3obj, 142003, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Find out whether the object is 'opened' or not.
- // Returns: Boolean, true if opened.
-
- R3AOM_GETOPEN = 142004;
-
- function mR3AOM_GETOPEN() {
- return DoA(this.r3obj, 142004, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3AOA_TimeBegin = 142500;
- function SetR3AOA_TimeBegin(value) {
- R3Set(this.r3obj, R3AOA_TimeBegin, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_TimeBegin() {
- return R3Get(this.r3obj, R3AOA_TimeBegin, R3TID_FLOAT, 0);
- }
-
- R3AOA_TimeEnd = 142501;
- function SetR3AOA_TimeEnd(value) {
- R3Set(this.r3obj, R3AOA_TimeEnd, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_TimeEnd() {
- return R3Get(this.r3obj, R3AOA_TimeEnd, R3TID_FLOAT, 0);
- }
-
- R3AOA_Frequency = 142502;
- function SetR3AOA_Frequency(value) {
- R3Set(this.r3obj, R3AOA_Frequency, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_Frequency() {
- return R3Get(this.r3obj, R3AOA_Frequency, R3TID_FLOAT, 0);
- }
-
- R3AOA_Phase = 142503;
- function SetR3AOA_Phase(value) {
- R3Set(this.r3obj, R3AOA_Phase, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_Phase() {
- return R3Get(this.r3obj, R3AOA_Phase, R3TID_FLOAT, 0);
- }
-
- R3AOA_TimeCurrent = 142504;
- function SetR3AOA_TimeCurrent(value) {
- R3Set(this.r3obj, R3AOA_TimeCurrent, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_TimeCurrent() {
- return R3Get(this.r3obj, R3AOA_TimeCurrent, R3TID_FLOAT, 0);
- }
-
- R3AOA_InitTimeCurrent = 142505;
- function SetR3AOA_InitTimeCurrent(value) {
- R3Set(this.r3obj, R3AOA_InitTimeCurrent, value, R3TID_FLOAT, 0);
- }
-
- var R3AOA_Result = 142506; // r3Vect
- var R3AOA_ParamOffset = 142507; // r3Vect
- var R3AOA_PMethod = 142508; // Integer
- var R3AOA_PParam = 142509; // Object
- R3AOA_TimeCurve = 142510;
- function GetR3AOA_TimeCurve() {
- return R3ToJS(R3Get(this.r3obj, R3AOA_TimeCurve, R3TID_OBJECT, 0));
- }
-
- R3AOA_Weight = 142511;
- function SetR3AOA_Weight(value) {
- R3Set(this.r3obj, R3AOA_Weight, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_Weight() {
- return R3Get(this.r3obj, R3AOA_Weight, R3TID_FLOAT, 0);
- }
-
- R3AOA_TimeBeginAbsolute = 142512;
- function SetR3AOA_TimeBeginAbsolute(value) {
- R3Set(this.r3obj, R3AOA_TimeBeginAbsolute, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_TimeBeginAbsolute() {
- return R3Get(this.r3obj, R3AOA_TimeBeginAbsolute, R3TID_FLOAT, 0);
- }
-
- R3AOA_TimeEndAbsolute = 142513;
- function SetR3AOA_TimeEndAbsolute(value) {
- R3Set(this.r3obj, R3AOA_TimeEndAbsolute, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_TimeEndAbsolute() {
- return R3Get(this.r3obj, R3AOA_TimeEndAbsolute, R3TID_FLOAT, 0);
- }
-
- R3AOA_TimeCurrentAbsolute = 142514;
- function SetR3AOA_TimeCurrentAbsolute(value) {
- R3Set(this.r3obj, R3AOA_TimeCurrentAbsolute, value, R3TID_FLOAT, 0);
- }
-
- function GetR3AOA_TimeCurrentAbsolute() {
- return R3Get(this.r3obj, R3AOA_TimeCurrentAbsolute, R3TID_FLOAT, 0);
- }
-
- R3AOA_Periodic = 142515;
- function SetR3AOA_Periodic(value) {
- R3Set(this.r3obj, R3AOA_Periodic, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3AOA_Periodic() {
- return R3Get(this.r3obj, R3AOA_Periodic, R3TID_BOOLEAN, 0);
- }
-
- R3AOA_EnableCurve = 142516;
- function SetR3AOA_EnableCurve(value) {
- R3Set(this.r3obj, R3AOA_EnableCurve, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3AOA_EnableCurve() {
- return R3Get(this.r3obj, R3AOA_EnableCurve, R3TID_BOOLEAN, 0);
- }
-
-
-
- function r3Aniobj () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_ANIOBJ, arguments);
- }
- // Methods
- this.EVALPARAM=mR3AOM_EVALPARAM;
- this.PERFORMONTARGETS=mR3AOM_PERFORMONTARGETS;
- this.RECALCULATE=mR3AOM_RECALCULATE;
- this.SETOPEN=mR3AOM_SETOPEN;
- this.GETOPEN=mR3AOM_GETOPEN;
-
- // Attributes
- this.GetTimeBegin=GetR3AOA_TimeBegin;
- this.SetTimeBegin=SetR3AOA_TimeBegin;
- this.GetTimeEnd=GetR3AOA_TimeEnd;
- this.SetTimeEnd=SetR3AOA_TimeEnd;
- this.GetFrequency=GetR3AOA_Frequency;
- this.SetFrequency=SetR3AOA_Frequency;
- this.GetPhase=GetR3AOA_Phase;
- this.SetPhase=SetR3AOA_Phase;
- this.GetTimeCurrent=GetR3AOA_TimeCurrent;
- this.SetTimeCurrent=SetR3AOA_TimeCurrent;
- this.SetInitTimeCurrent=SetR3AOA_InitTimeCurrent;
- this.GetTimeCurve=GetR3AOA_TimeCurve;
- this.GetWeight=GetR3AOA_Weight;
- this.SetWeight=SetR3AOA_Weight;
- this.GetTimeBeginAbsolute=GetR3AOA_TimeBeginAbsolute;
- this.SetTimeBeginAbsolute=SetR3AOA_TimeBeginAbsolute;
- this.GetTimeEndAbsolute=GetR3AOA_TimeEndAbsolute;
- this.SetTimeEndAbsolute=SetR3AOA_TimeEndAbsolute;
- this.GetTimeCurrentAbsolute=GetR3AOA_TimeCurrentAbsolute;
- this.SetTimeCurrentAbsolute=SetR3AOA_TimeCurrentAbsolute;
- this.GetPeriodic=GetR3AOA_Periodic;
- this.SetPeriodic=SetR3AOA_Periodic;
- this.GetEnableCurve=GetR3AOA_EnableCurve;
- this.SetEnableCurve=SetR3AOA_EnableCurve;
- }
-
- r3Aniobj.prototype=new r3Level;
- // r3aniobj.h_H